from wish.pool.weapon_pool import WeaponPool


def once_need_times():
    times = 0
    weapon_pool = WeaponPool()
    while True:
        times += 1
        weapon = weapon_pool.next()
        if weapon == WeaponPool.WEAPON_5_NEED \
                or weapon == WeaponPool.WEAPON_5_NORMAL \
                or weapon == WeaponPool.WEAPON_5_ANTHER:
            return times
